#include <stdio.h>
int main() {
	unsigned int data = 0;	
	unsigned char blue = 0xa3;      // 1010 0011 
	unsigned char green = 0x6f;     // 0110 1111   
	unsigned char red = 0x5d;       // 0101 1101  	
	
	
	unsigned char head=~(blue>>6<<(2*2)|green>>6<<(2*1)|red>>6);//11011010
	data=(unsigned int) head<<(3*8)|(unsigned int)blue<<(2*8)|(unsigned int)green<<(1*8)|(unsigned int)red;//daa36f5d 
	printf("%#x\n",data);
	return 0;
}